package zmee.entity;


import java.util.Arrays;
/**
* @author lijiawang
* @Date 2022/11/22 10:52
* @Description:OA表单信息,根据苍穹中的表单进行赋值
*/
public class WorkflowRequestInfo {
    //请求标题
    private String requestName;

    private Integer isnextflow=-1;
    //流程类型
    private WorkflowBaseInfo workflowBaseInfo;
    //表头信息
    private WorkflowMainTableInfo workflowMainTableInfo;
    //明细表信息
    private WorkflowDetailTableInfo []workflowDetailTableInfo;

    public WorkflowRequestInfo() {

    }

    public WorkflowRequestInfo(String requestName) {
        this.requestName = requestName;
    }


    public String getRequestName() {
        return requestName;
    }

    public void setRequestName(String requestName) {
        this.requestName = requestName;
    }

    public WorkflowBaseInfo getWorkflowBaseInfo() {
        return workflowBaseInfo;
    }

    public void setWorkflowBaseInfo(WorkflowBaseInfo workflowBaseInfo) {
        this.workflowBaseInfo = workflowBaseInfo;
    }

    public Integer getIsnextflow() { return isnextflow; }

    public void setIsnextflow(Integer isnextflow) { this.isnextflow = isnextflow; }

    public WorkflowMainTableInfo getWorkflowMainTableInfo() {
        return workflowMainTableInfo;
    }

    public void setWorkflowMainTableInfo(WorkflowMainTableInfo workflowMainTableInfo) {
        this.workflowMainTableInfo = workflowMainTableInfo;
    }

    public WorkflowDetailTableInfo[] getWorkflowDetailTableInfo() {
        return workflowDetailTableInfo;
    }

    public void setWorkflowDetailTableInfo(WorkflowDetailTableInfo[] workflowDetailTableInfo) {
        this.workflowDetailTableInfo = workflowDetailTableInfo;
    }

    @Override
    public String toString() {
        return "WorkflowRequestInfo{" +
                "requestName='" + requestName + '\'' +
                ", workflowBaseInfo=" + workflowBaseInfo +
                ", workflowMainTableInfo=" + workflowMainTableInfo +
                ", workflowDetailTableInfo=" + Arrays.toString(workflowDetailTableInfo) +
                '}';
    }

}
